\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder}{
\section{nih\-:\-:deprecated\-:\-:\-Bvh\-\_\-sah\-\_\-builder \-Class \-Reference}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder}\index{nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder@{nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder}}
}


{\ttfamily \#include $<$bvh\-\_\-sah\-\_\-builder.\-h$>$}

\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bfseries \-Entity}
\item 
struct {\bfseries \-Node}
\item 
class \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_1_1_predicate}{\-Predicate}
\item 
struct \hyperlink{structnih_1_1deprecated_1_1_bvh__sah__builder_1_1_stats}{\-Stats}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a0c383726c76f31ce9c1600c91b93bcbf}{
typedef \hyperlink{structnih_1_1_vector}{\-Vector3f} {\bfseries \-Vector\-\_\-type}}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a0c383726c76f31ce9c1600c91b93bcbf}

\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_ae58b7b9f6868c31c9f429bd4a4543538}{
typedef \hyperlink{structnih_1_1_bbox}{\-Bbox3f} {\bfseries \-Bbox\-\_\-type}}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_ae58b7b9f6868c31c9f429bd4a4543538}

\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a7db26206e691d271f3b31dbf1b4919ff}{
typedef \hyperlink{structnih_1_1_bvh}{\-Bvh}$<$ 3u $>$ {\bfseries \-Bvh\-\_\-type}}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a7db26206e691d271f3b31dbf1b4919ff}

\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_aedf7c43673809288478348ae3ac2b325}{
typedef \hyperlink{structnih_1_1_bvh__node}{\-Bvh\-\_\-node} {\bfseries \-Bvh\-\_\-node\-\_\-type}}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_aedf7c43673809288478348ae3ac2b325}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a6590df8934a42d73ecd2d7089e0bb43a}{
\hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_a6590df8934a42d73ecd2d7089e0bb43a}{\-Bvh\-\_\-sah\-\_\-builder} ()}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a6590df8934a42d73ecd2d7089e0bb43a}

\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a7a80ebc7842b083d1f8db1218f9bb5c3}{
void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_a7a80ebc7842b083d1f8db1218f9bb5c3}{set\-\_\-max\-\_\-leaf\-\_\-size} (const uint32 max\-\_\-leaf\-\_\-size)}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a7a80ebc7842b083d1f8db1218f9bb5c3}

\begin{DoxyCompactList}\small\item\em set bvh parameters \end{DoxyCompactList}\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_aa00f33c2609507097297d572f6e28172}{
void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_aa00f33c2609507097297d572f6e28172}{set\-\_\-force\-\_\-splitting} (const bool flag)}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_aa00f33c2609507097297d572f6e28172}

\begin{DoxyCompactList}\small\item\em set force splitting \end{DoxyCompactList}\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a6e9529f220ebb262c1ac78e832cf10da}{
void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_a6e9529f220ebb262c1ac78e832cf10da}{set\-\_\-force\-\_\-alignment} (const bool flag)}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a6e9529f220ebb262c1ac78e832cf10da}

\begin{DoxyCompactList}\small\item\em set force 'max leaf size'-\/aligned splits \end{DoxyCompactList}\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a159570720ce4fa0fdb8ec452e93469e3}{
void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_a159570720ce4fa0fdb8ec452e93469e3}{set\-\_\-partial\-\_\-build} (const bool flag)}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a159570720ce4fa0fdb8ec452e93469e3}

\begin{DoxyCompactList}\small\item\em set partial build \end{DoxyCompactList}\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_afb381e7c565a7af2023bc7d921de195d}{
void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_afb381e7c565a7af2023bc7d921de195d}{set\-\_\-single\-\_\-axis\-\_\-threshold} (const uint32 v)}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_afb381e7c565a7af2023bc7d921de195d}

\begin{DoxyCompactList}\small\item\em set single axis test threshold \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Iterator $>$ }\\void \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_a7fb4a776c2409db6e3db887fc49b7023}{build} (\-Iterator begin, \-Iterator end, \hyperlink{structnih_1_1_bvh}{\-Bvh\-\_\-type} $\ast$bvh)
\item 
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_aa395159698f1df15ce08d87ff297fe2d}{
uint32 \hyperlink{classnih_1_1deprecated_1_1_bvh__sah__builder_aa395159698f1df15ce08d87ff297fe2d}{index} (const uint32 i) const }
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_aa395159698f1df15ce08d87ff297fe2d}

\begin{DoxyCompactList}\small\item\em remapped point index \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-An \-S\-A\-H-\/based bvh builder for 3d bboxes 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classnih_1_1deprecated_1_1_bvh__sah__builder_a7fb4a776c2409db6e3db887fc49b7023}{
\index{nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder@{nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder}!build@{build}}
\index{build@{build}!nih::deprecated::Bvh_sah_builder@{nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder}}
\subsubsection[{build}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Iterator $>$ void nih\-::deprecated\-::\-Bvh\-\_\-sah\-\_\-builder\-::build (
\begin{DoxyParamCaption}
\item[{\-Iterator}]{begin, }
\item[{\-Iterator}]{end, }
\item[{{\bf \-Bvh\-\_\-type} $\ast$}]{bvh}
\end{DoxyParamCaption}
)}}
\label{classnih_1_1deprecated_1_1_bvh__sah__builder_a7fb4a776c2409db6e3db887fc49b7023}
build

\-Iterator is supposed to dereference to a \-Bbox3f


\begin{DoxyParams}{\-Parameters}
{\em begin} & first point \\
\hline
{\em end} & last point \\
\hline
{\em bvh} & output bvh \\
\hline
\end{DoxyParams}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
bvh/bvh\-\_\-sah\-\_\-builder.\-h\item 
bvh/bvh\-\_\-sah\-\_\-builder\-\_\-inline.\-h\end{DoxyCompactItemize}
